package com.huluobo.lib_http

/**
 *  Created by LC on 2025/8/18.
 */
object Const {
    const val BASE_URL = "http://39.104.238.234:8081"
    const val PARAM_TOKEN = "ferioatoken"
    const val VIDEO_URL = "http://10.161.9.80:7012"
    const val PARAM_VIDEO_TOKEN = "token"

    const val URL_GET_ALL_APPS = "/api/sysapp/all"

    //是否进入过app
    const val PARAM_IS_IN = "isIn"

    //文件上传
    const val URL_UPLOAD_DOCUMENT = "/user/updateIcon"
    const val PARAM_FILE = "file"

    //日志
    const val URL_GET_ALL_REPORT = "/api/oaworklog/all"
    const val PARAM_TITLE = "title"
    const val PARAM_CONTENT = "content"
    const val URL_COMMIT_REPORT = "/api/oaworklog/save"

    //签到
    const val URL_GET_ALL_SIGNS = "/api/clock/page"
    const val PARAM_SIGN_IN = "signIn"
    const val PARAM_SIGN_OUT = "signOut"
    const val PARAM_STATUS_IN = "statusIn"
    const val PARAM_STATUS_OUT = "statusOut"
    const val PARAM_LAT = "lat"
    const val PARAM_LON = "lon"
    const val PARAM_TYPE = "type"
    const val PARAM_STATUS = "status"
    const val PARAM_ADDRESS = "address"
    const val URL_ADD_SIGN = "/api/clock/save"
    const val PARAM_PAGE = "page"
    const val PARAM_LIMIT = "limit"

    //新增员工
    const val PARAM_NAME = "name"
    const val PARAM_NO = "no"
    const val PARAM_PHONE = "phone"
    const val PARAM_DID = "did"
    const val PARAM_PID = "pid"
    const val PARAM_PNAME = "pname"
    const val URL_ADD_EMPLOYEE = "/api/staff/save"

    //登录
    const val PARAM_UNAME = "uname"
    const val PARAM_UPASS = "upass"
    const val URL_LOGIN = "/api/user/login"
    const val PARAM_ROLE = "role"
    const val PARAM_USERNAME = "username"
    const val PARAM_PASSWORD = "password"
    const val URL_LOGIN_VIDEO = "/user/loginjson"

    //请假
    const val PARAM_START_TIME = "startTime"
    const val PARAM_END_TIME = "endTime"
    const val PARAM_HOURS = "hours"
    const val PARAM_REASON = "reason"
    const val URL_ADD_APPROVE = "/api/leave/save"
    const val URL_GET_APPROVE = "/api/leave/all?status=0"
    const val PARAM_ID = "id"
    const val URL_DELETE_APPROVE = "/api/leave/delete"

    //审批
    const val PARAM_COM_TIME = "comTime"
    const val PARAM_COM_REASON = "comReason"
    const val URL_COM_APPROVE = "/api/leave/audit"
    const val URL_GET_APPROVE_PAGE = "/api/leave/page"

    //视频
    const val PARAM_CURRENT_PAGE = "currentPage"
    const val PARAM_PAGE_SIZE = "pageSize"
    const val URL_GET_ALL_VIDEO = "/video/findVideos"
    const val KEY_VIDEO = "videoKey"

    //点赞
    const val PARAM_VIDEO_ID = "videoId"
    const val URL_LIKE_VIDEO = "/fav/love"
    const val URL_NO_LIKE_VIDEO = "/fav/nolove"

    //评论
    const val URL_GET_ALL_COMMENT = "/comment/getCommentByVideoId"
    const val URL_SEND_COMMENT = "/comment/comment"
    const val PARAM_MSG = "msg"

    //关注
    const val URL_FOLLOW = "/guanzhu/guanzhu"
    const val PARAM_AUTHNAME = "authname"

    //商品
    const val URL_GET_ALL_GOODS = "/goods/info"
    const val PARAM_CATEGORY_ID = "category_id"

    //添加购物车
    const val PARAM_COUNT = "count"
    const val PARAM_GOODS_ID = "goods_id"
    const val URL_ADD_TO_CART = "/goods/addCar"

    const val URL_GET_CART = "/goods/selectCar"
}